package com.city.app;


import com.city.service.app.AppService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @deprecation: APP接口文档
 * @email: leichuqiao@126.com
 * @author: 雷楚桥
 * @date: 2018/7/24 10:39
 */
@Controller
@RequestMapping("/app/doc")
public class DocApp {

    @Autowired
    private AppService appService;

    /**
     * @deprecation: 文档显示
     * @email: leichuqiao@126.com
     * @author: 雷楚桥
     * @date: 2018/7/24 10:39
     */
    @RequestMapping("")
    public String index(Map<String, Object> map) {
        map.put("docList", appService.finAllDoc());
        return "/app/doc";
    }
}
